package com.zhora.service.ai;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhora.common.domain.page.PageDataGridRespDTO;
import com.zhora.dto.ai.AiLibraryDocSegmentDTO;
import com.zhora.dto.ai.search.AiLibraryDocSegmentSearchDTO;
import com.zhora.entity.ai.AiLibraryDocSegmentEntity;

import java.util.List;

/**
 * ai文档-片段(ai_library_doc_segment)表服务接口
 *
 * @author zhehen.lu
 * @since 2025-09-25 11:18:57
 */
public interface IAiLibraryDocSegmentService extends IService<AiLibraryDocSegmentEntity> {

    PageDataGridRespDTO<AiLibraryDocSegmentDTO> listPage(AiLibraryDocSegmentSearchDTO searchDTO);

    void create(AiLibraryDocSegmentDTO dto);

    AiLibraryDocSegmentDTO getDetailById(Long id);

    AiLibraryDocSegmentDTO getDetail(AiLibraryDocSegmentSearchDTO searchDTO);

    void updateById(AiLibraryDocSegmentDTO dto);

    List<AiLibraryDocSegmentDTO> list(AiLibraryDocSegmentSearchDTO searchDTO);
}
